package com.beadhouse.bed.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.beadhouse.bed.ao.BedAo;
import com.beadhouse.entity.BedEntity;



public interface BedService {
	public BedEntity addBed(BedAo ao)throws Exception;
	public BedEntity queryBed(BedAo ao)throws Exception;
	public void deleteBed(BedAo ao)throws Exception;
	public void modifyBed(BedAo ao)throws Exception;//例如床的备注状态
	public void addBedCustomer(BedAo ao)throws Exception;//给床位增加床位
	public List queryAllBed(BedAo ao) throws Exception;//查询所有床位信息
	public void deleteBedCustomer(BedAo ao) throws Exception;//给顾客删除床位
	public List<BedEntity> queryAllfreeBed() throws Exception;//查询空床位实体
	

}
